home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
- <stack>
- <name>in</name>
- <id>-1</id>
- <cardCount>5</cardCount>
- <cardID>4547</cardID>
- <listID>2178</listID>
- <cantModify><false /></cantModify>
- <cantDelete><false /></cantDelete>
- <cantAbort><false /></cantAbort>
- <cardSize>
- <width>576</width>
- <height>392</height>
- </cardSize>
- <script>function ExtractFileName FileName
- put ":" into Delimiter
- if Delimiter is in FileName then
- repeat with CharPos = length(FileName) down to 1
- if char CharPos of FileName = Delimiter
- then return char CharPos+1 to length(FileName) of FileName
- end repeat
- return empty
- else
- return FileName
- end if
- end ExtractFileName
-
- function ExtractPathName FileName
- put ":" into Delimiter
- repeat with CharPos = length(FileName) down to 1
- if char CharPos of FileName = Delimiter
- then return char 1 to CharPos of FileName
- end repeat
- return empty
- end ExtractPathName
-
- on openStack
- Logo
-
- put empty into foo
- QTPict version
- put the result into v
- put "QTPict: " & v into line 1 of foo
-
- put foo into cd field versions of card 1
-
- buildPopUp
- end OpenStack
-
- on openCard
- Logo
- pass openCard
- end openCard
-
- on moveWindow
- Logo
- end moveWindow
-
- on closeStack
- AllClip
- pass closeStack
- end closeStack
-
- on Logo
- AllClip
- QTPict DisplayPict,QTLogo,topLeft of bg btn "go card",resource
- get the result -- rectangle is returned if no error
- if "Error" is not in it then QTPict DiffClip,it
- end Logo
-
-
- on newCard
- buildPopUp
- end newCard
-
- on buildPopUp
- global menuItems
- put empty into menuItems
- repeat with i = 1 to the number of cards
- get the short name of card i
- put it & "," after menuItems
- end repeat
-
- delete last char of menuItems -- the last comma
-
- end buildPopUp
-
- on GoCard
- global menuItems
-
- if there is a window "live video" then send videoOff to window "live video"
- get PopUpMenu (menuItems, 0, bottom of the target, left of the target+1)
- if there is a window "live video" then send videoOn to window "live video"
-
- if it > 0 then
- go card it --of this bg
- end if
- end GoCard
-
- on AllClip
- QTPict ClipTo,"0,0,1280,1280"
- end AllClip
-
- on mouseDown
- Logo
- end mouseDown
-
- on primeStack
- set lockmessages to true
- repeat with i = 1 to the number of cards
- go card i
- send primeCard to card i
- end repeat
-
- go first card
- end primeStack
-
- on primeCard
- if there is a field filename then
- put "Your Volume:Your Folder:Your File" into field filename
- end if
- if there is a cd field "help text" then
- set lockText of cd field "help text" to true
- --hide cd field "help text"
- end if
- end primeCard
- </script>
- <background id="2806" file="background_2806.xml" name="" />
- <background id="4201" file="background_4201.xml" name="" />
- <card id="4547" file="card_4547.xml" marked="false" name="QTPict" owner="4201" />
- <card id="3005" file="card_3005.xml" marked="false" name="DisplayPict" owner="2806" />
- <card id="3802" file="card_3802.xml" marked="false" name="CompressPict" owner="2806" />
- <card id="3931" file="card_3931.xml" marked="false" name="FileSize & ScreenDepth" owner="2806" />
- <card id="4967" file="card_4967.xml" marked="false" name="Display Movie Thumbnails" owner="2806" />
- </stack>
-